package com.drxx.bean;

import javax.persistence.Entity;

@Entity
public class UserInfo {
    private Integer id;
    private String name;
    private String gender;
    private String passwd;
    public UserInfo(){}
    public UserInfo(int id, String name, String gender, String passwd) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.passwd = passwd;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
}
